package com.senjoeson.wanandroid.api;

public interface JerryApiService {

   /* //直接用retrofit请求
    @GET(C.NEWS)
    Call<NewsEntity> getNews();

    //POST请求
    @FormUrlEncoded
    @POST("api/user/checkMobile")
    Observable<BaseResponse> getVerfcationCodePostMap(@FieldMap Map<String, String> map);

    //POST请求
    @FormUrlEncoded
    @POST("api/user/loginByMobile")
    Observable<BaseResponse<UserVO>> getUser(@FieldMap Map<String, String> map);

    //POST请求
    @FormUrlEncoded
    @POST("api/user/devices")
    Observable<BaseResponse<List<DeviceVO>>> getDevices(@FieldMap Map<String, String> map);

    *//*上传文件*//*
    @Multipart
    @POST("api/user/modifyDevice")
    Observable<BaseResponse> uploadImage(@PartMap Map<String, RequestBody> map, @Part MultipartBody.Part file);*/

}
